use std::fmt::{Debug, Display};
use yew::Html;

pub trait Render {
    fn render(&self) -> Html;
}

pub trait Id {
    type Value: PartialEq + Eq + Display + Debug + Clone;
    fn id(&self) -> Self::Value;
}